<template>
  <div class="about">
    <my-foor></my-foor>
           <!-- 页头html -->
  <div class="head" id="guding">
    <div class="logo">
      <div class="logobox">
        <img src="../assets/header.png" title="索菲亚" alt="索菲亚" />
      </div>
    </div>
    <div class="navi">
      <!-- 根据当前页面所属类别，给对应的大类li和子类li标签加上class="on" -->
      <ul>
        <li class="on">
          <router-link to="/">首页</router-link>
          <ul></ul>
        </li>
        <li><router-link to="/page">关于我们</router-link></li>
        <li>
          <router-link to="/brand">品牌力</router-link>
          <ul>
            <!-- 科技 -->
            <li><router-link to="/brand">生产经营 </router-link></li>

            <li><router-link to="/home">品牌轨迹 </router-link></li>

            <li><router-link to="/honor">企业荣誉 </router-link></li>

            <li><router-link to="/home">销售网络</router-link></li>

            <li><router-link to="/serve"> 全流程服务</router-link></li>
            <li><router-link to="/fabricate">智能制造</router-link></li>
          </ul>
        </li>
        <li>
          <router-link to="/fabricate">产品力</router-link>
          <ul>
            <li><router-link to="/">新品展示</router-link></li>

            <li><router-link to="/">时尚设计</router-link></li>

            <li><router-link to="/">环保生活</router-link></li>
          </ul>
        </li>
        <li>
          <router-link to="/">投资者关系</router-link>
          <ul>
            <li><router-link to="/">信息披露</router-link></li>
            <li>
              <router-link to="/"> 公司治理</router-link>
            </li>
            <li><router-link to="/">基本数据</router-link></li>
            <li>
              <router-link to="/"> 投资者教育</router-link>
            </li>
            <li><router-link to="/">投资者接待</router-link></li>
            <li><router-link to="/">投资者保护</router-link></li>
          </ul>
        </li>
        <li>
          <router-link to="/society">社会责任</router-link>
          <ul>
            <li><router-link to="/society">抗疫行动</router-link></li>

            <li><router-link to="/">稀捍行动</router-link></li>

            <li><router-link to="/">希望行动</router-link></li>

            <li><router-link to="/">关爱行动</router-link></li>
          </ul>
        </li>
        <li>
          <router-link to="/honer">新闻中心</router-link>
          <ul>
            <li><router-link to="/">企业动态</router-link></li>

            <li><router-link to="/">媒体报道</router-link></li>

            <li><router-link to="/">企业年刊</router-link></li>
          </ul>
        </li>
      </ul>
    </div>
  	<div class="topbar">
            <div class="toplang">
                <img src="UaKIds=.png">
              
                <router-link to="/mylogin">   登录</router-link>｜ <router-link to="/myzhuce">  注册</router-link>
            </div>
            <div class="topseek">
                <form id="seekform" method="get" action="https://www.sfygroup.com/sfy/search"
                    onsubmit="return checkkw()">
                    <span><img
                            src="https://file.suofeiya.com.cn/v/d66190b3-53a2-4c22-aa9d-d724ef40658a"
                           >在线客服</span>
                </form>
            </div> 
       </div>
    <router-view />
  </div>
  <!-- 轮播图 -->
   <div class="swiper-container">
      <div class="swiper-wrapper">
        <!-- 第一屏 -->
        <div class="swiper-slide">
          <div class="spwb">
            <video controls src="https://file.suofeiya.com.cn/v/f8d0a2ce-5454-4742-9571-0588d27554ec"
              poster="../../public/img/banner1.jpg">
            </video>
          </div>
           <!-- <img src="https://file.suofeiya.com.cn/v/c1f98446-2d7a-4741-b840-a0975baa5643" class="btn_play" @click="toPlay" v-show="show1"> -->
          <!--<img src="https://file.suofeiya.com.cn/v/f76db345-3823-4f83-adfb-b6b4ae2f4048" class="btn_close" @click="toPause" v-show="show2">
            <div class="vdmu" title="关闭声音"></div>
            <img src="https://file.suofeiya.com.cn/v/f76db345-3823-4f83-adfb-b6b4ae2f4048" @click="addVoice" class="btn_add" v-show="show2"> -->
        </div>
        <!-- 第二屏 -->
        <div class="swiper-slide">
          <div class="swiper-container1">
            <div class="swiper-wrapper">
              <div class="swiper-slide">
                <img src="../../public/img/banner11.jpg" alt="">
                <div class="d">
                    <div class="d1" @click="al">六大风格 新品呈现</div>
                    <div class="d2">NEW PRODUCTS</div>
                  </div>
              </div>
              <div class="swiper-slide">
                <img src="../../public/img/banner12.jpg" alt="">
                <div class="d">
                    <div class="d1">六大风格 新品呈现</div>
                    <div class="d2">NEW PRODUCTS</div>
                  </div>
              </div>
              <div class="swiper-slide">
                <img src="../../public/img/banner13.jpg" alt="">
                <div class="d">
                    <div class="d1">六大风格 新品呈现</div>
                    <div class="d2">NEW PRODUCTS</div>
                  </div>
              </div>
              <div class="swiper-slide">
                <img src="../../public/img/banner14.jpg" alt="">
                <div class="d">
                    <div class="d1">六大风格 新品呈现</div>
                    <div class="d2">NEW PRODUCTS</div>
                  </div>
              </div>
              <div class="swiper-slide">
                <img src="../../public/img/banner15.jpg" alt="">
                <div class="d">
                    <div class="d1">六大风格 新品呈现</div>
                    <div class="d2">NEW PRODUCTS</div>
                  </div>
              </div>
              <div class="swiper-slide">
                <img src="../../public/img/banner16.jpg" alt="">
                <div class="d">
                    <div class="d1">六大风格 新品呈现</div>
                    <div class="d2">NEW PRODUCTS</div>
                  </div>
              </div>
          </div>
              <!-- 如果需要分页器 -->
              <div class="swiper-pagination"></div>

              <!-- 如果需要导航按钮 -->
              <div class="swiper-button-prev"></div>
              <div class="swiper-button-next"></div>
          </div>
        </div>
        <!-- 第三屏 -->
        <div class="swiper-slide">
          <div class="swiper-container1">
            <div class="swiper-wrapper">
              <div class="swiper-slide">
                <img src="../../public/img/banner17.jpg" alt="">
                <div class="d">
                    <div class="d4">设计引领全球</div>
                    <div class="d3">WORLD-LEADING DESIGN</div>
                  </div>
              </div>
              <div class="swiper-slide">
                <img src="../../public/img/banner18.jpg" alt="">
                <div class="d">
                    <div class="d4">设计引领全球</div>
                    <div class="d3">WORLD-LEADING DESIGN</div>
                  </div>
              </div>
          </div>
              <!-- 如果需要分页器 -->
              <div class="swiper-pagination"></div>

              <!-- 如果需要导航按钮 -->
              <div class="swiper-button-prev"></div>
              <div class="swiper-button-next"></div>
          </div>
        </div>
        <!-- 第四屏 -->
        <div class="swiper-slide">
          <div class="spwb">
            <video controls src="https://file.suofeiya.com.cn/v/1c06c90d-9d48-4ebc-b42f-d6335483f4f6"
              poster="../../public/img/banner19.jpg">
            </video>
          </div>
          <!-- <img src="https://file.suofeiya.com.cn/v/c1f98446-2d7a-4741-b840-a0975baa5643" class="btn_play" @click="toPlay" v-show="show1"> -->
          <div class="d">
            <div class="d4">环保超越欧标</div>
            <div class="d5"><div>ENVIRONMENTAL PROTECTION LEVEL</div>
              EXCEEDING EUROPEAN STANDARDS</div>
          </div>
        </div>
        <!-- 第五屏 -->
        <div class="swiper-slide">
          <div class="spwb">
            <video controls src="https://file.suofeiya.com.cn/v/d57a03ee-c3e7-471f-b0e5-9b5b89d71698"
              poster="../../public/img/banner20.jpg">
            </video>
          </div>
          <!-- <img src="https://file.suofeiya.com.cn/v/c1f98446-2d7a-4741-b840-a0975baa5643" class="btn_play" @click="toPlay" v-show="show1"> -->
          <div class="d">
            <div class="d4">智能制造 全球领先</div>
            <div class="d3"><div>WORLD-LEADING INTELLIGENT</div>
              MANUFACTURING</div>
          </div>
        </div>
      </div>
      <!-- 如果需要分页器 -->
      <div class="swiper-pagination"></div>

      <!-- 如果需要导航按钮
      <div class="swiper-button-prev"></div>
      <div class="swiper-button-next"></div> -->

      <!-- 如果需要滚动条 -->
      <!-- <div class="swiper-scrollbar"></div>-->
   </div>
  </div>
</template>

<script>
  import Swiper from 'swiper'
  export default {
    name:'About',
    data(){
      return {
        show1:true,
        show2:false,
        play:false,
      }
    },
    methods:{
      toPlay(){
        this.p1="";
        this.show1="false";
        this.show2="true";
        let player = document.getElementById('vid');
        if(player.paused){
           player.play();  // 播放音乐
        }else{
          player.pause();
        }
      },
      toPause(){
      let player = document.getElementById('vid');
       player.pause();
       this.$router.back();
    },
  },
    mounted() {
      var mySwiper = new Swiper ('.swiper-container', {
        // effect:'cube',
        cube:{
          slideShadows:true,
          shadow:true,
          shadowOffset:100,
          shadowScale:0.6
        },
        direction:'vertical',
        loop: false,
        // 如果需要分页器
        pagination: '.swiper-pagination',
        paginationClickable:true,
        autoplay:false,
        autoplayDisableOnInteraction: false,
        width:window.innerWidth,
        height:window.innerHeight,
        mousewheelControl:true,
        autoHeight:true,
        // 如果需要前进后退按钮
        // nextButton: '.swiper-button-next',
        // prevButton: '.swiper-button-prev',
        // 如果需要滚动条
        // scrollbar: '.swiper-scrollbar',
        //如果需要自动切换海报
        // autoplay: {
        //   delay: 2500,//时间 毫秒
        //   disableOnInteraction: false,//用户操作之后是否停止自动轮播默认true
        // },
      })
      var mySwiper1 = new Swiper ('.swiper-container1', {
        // effect:'cube',
        loop: true,
        // 如果需要分页器
        pagination: '.swiper-pagination',
        paginationClickable:true,
        // paginationType : 'progress',
        autoplay:2500,
        autoplayDisableOnInteraction: false,
        width:window.width,
        mousewheelControl:true,
        // 如果需要前进后退按钮
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
        // 如果需要滚动条
        // scrollbar: '.swiper-scrollbar',
        //如果需要自动切换海报
        // autoplay: {
        //   delay: 2500,//时间 毫秒
        //   disableOnInteraction: false,//用户操作之后是否停止自动轮播默认true
        // },
      })
    }
  }
</script>

<style lang="less" scoped>
// 播放视频按钮
.about{
  //  background-image: url("../../public/img/banner16.jpg");
   background: rgba(0, 0, 0, 0.6);
  }
  .spwb video{
  width: 100%;height: 100%;
}
.btn_play{
  position: absolute;
  top: 45%;
  left: 25%;
  opacity: 0.5;
}
.btn_add {
  position: absolute;
  bottom: 16%;
  right: 15%;
  cursor: pointer;
  opacity: 0.5;
}
.btn_close {
    width: 37px;
    height: 37px;
    position: absolute;
    top: 5%;
    right: 40px;
    cursor: pointer;
    opacity: 0.5;
}
video>img:hover{
  opacity: 1;
}
.swiper-container{
  padding-top: 30px;
  width: 100%;
  height: 100%;
  .swiper-wrapper{
    .swiper-slide{
      height: 100%;
      width: 100%;
      text-align: center;
    }
  }
  .d{
    font: 12px,"Microsoft Yahei";
    color: #fff;
    padding: 0;
    margin: 0;
    touch-action: pan-y;
    text-align: center;
    width:200px;
    display: block;
  }
.d1{
  letter-spacing: 10px;
  padding-left: 10px;
  line-height: 20px;
  visibility: visible;
  position: absolute;
  top: 47%;
  left: 35%;
  font-size: 40px;
 }
.d4{
  letter-spacing: 10px;
  padding-left: 10px;
  line-height: 20px;
  visibility: visible;
  position: absolute;
  top: 47%;
  left: 39%;
  font-size: 40px;
 }
.d5{
  visibility: visible;
  font-size: 12px;
  letter-spacing: 14px;
  padding-left: 10px;
  line-height: 20px;
  position: absolute;
  top: 55%;
  left: 30%;
 }
 .d2{
  visibility: visible;
  font-size: 12px;
  letter-spacing: 14px;
  padding-left: 10px;
  line-height: 20px;
  position: absolute;
  top: 57%;
  left: 40%;
 }
 .d3{
   visibility: visible;
  font-size: 12px;
  letter-spacing: 14px;
  padding-left: 10px;
  line-height: 20px;
  position: absolute;
  top: 57%;
  left: 35%;
 }
}
.btn_play {
  position: absolute;
  padding-left: 10px;
  top: 40%;
  left: 50%;
  cursor: pointer;
  opacity: 0.3;
}


.container {
  position: relative;
}

* {
  padding: 0;
  margin: 0;
  touch-action: pan-y;
}

body,
html {
  height: 100%;
}

body,
td,
input,
textarea,
button {
  color: #444;
  font: 12px 微软雅黑, Microsoft Yahei;
  line-height: 24px;
}

a:link,
a:active,
a:visited {
  color: #444;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
  -moz-transition: background-color, color, 0.3s;
  -o-transition: background-color, color, 0.3s;
  -webkit-transition: background-color, color, 0.3s;
  transition: background-color, color, 0.3s;
  color: #b58c3c;
}

img {
  border: none;
}

form {
  margin: 0px;
  padding: 0px;
}

input:focus,
textarea:focus,
a:focus,
select:focus {
  outline: none;
}

ul,
li {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

.nowrap {
  white-space: nowrap;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  overflow: hidden;
}

.clear {
  clear: both;
}

.hide {
  display: none;
}

.right {
  float: right;
}

.left {
  float: left;
}

.hand {
  cursor: pointer;
}

.tips {
  height: auto;
  padding: 5px 20px;
  background: #666;
  color: #fff;
  line-height: 18px;
  position: fixed;
  z-index: 1000;
  top: 40%;
  left: 50%;
  filter: alpha(opacity=0);
  opacity: 0;
  font-size: 0.75em;
  text-align: center;
  border-radius: 15px;
}

.maskbg {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  overflow: auto;
}
.maskbgc {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 1);
  display: none;
  overflow: auto;
}

/* placeholder颜色 */

::-webkit-input-placeholder {
  color: #999;
}

:-moz-placeholder {
  color: #999;
}

::-moz-placeholder {
  color: #999;
}

:-ms-input-placeholder {
  color: #999;
}

/* 头部 */
#guding{
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: 99;
}
.head {
	width: 100%;
	height: 110px;
	background: rgba(255, 255, 255, 0.95);

	display: block;
}

.logo {
	width: 400px;
    height: 110px;
	display: flex;
    justify-content: center;
    align-items: center;
	
	overflow: hidden;
	/* margin: 32px 0 0 270px; */
	float: left;
}
.logobox img{
	width: 100%;

}
.logobox{
	
	width: 150px;
	

}

/*å¯¼èˆªæ */

.navi, .navi ul, .navi ul li, .navi ul li a {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
	line-height: 1;
	display: block;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.navi {
	height: 60px;
	float: left;
	padding-top: 38px;
}

.navi>ul>li {
	float: left;
	margin: 0 38px;
}

.navi>ul>li:after {
	content: "";
	position: absolute;
	width: 2px;
	height: 1px;
	left: 0;
	top: 5px;
	z-index: 9;
	background: transparent;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.navi>ul>li:hover,.navi>ul>li.on {
	color: #b58c3c;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.navi>ul>li:hover:after,.navi>ul>li.on:after {
	width: 100%;
	background: #cfa346;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.navi>ul>li>a {
	font-size: 15px;
	line-height: 65px;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-transition: color .3s ease;
	-moz-transition: color .3s ease;
	-ms-transition: color .3s ease;
	-o-transition: color .3s ease;
	transition: color .3s ease;
}

.navi>ul>li:hover>a,.navi>ul>li.on>a {
	color: #b58c3c;
}

.navi ul ul {
	width: 180px;
	position: absolute;
	left: -9999px;
	z-index: 1000;
}

.navi li:hover>ul {
	left: -30px;
}

.navi ul ul ul {
	margin-left: 100%;
	top: 0;
}

.navi ul ul li {
	height: 0;
	-webkit-transition: height .3s ease;
	-moz-transition: height .3s ease;
	-ms-transition: height .3s ease;
	-o-transition: height .3s ease;
	transition: height .3s ease;
}

.navi ul ul li:after {
	content: "";
	background: url(https://file.suofeiya.com.cn/v/ac103cf2-4443-44b4-a9d1-a65b84bf8a81) left center no-repeat;
	position: absolute;
	width: 1px;
	height: 7px;
	right: 10px;
	top: 22px;
	z-index: 9;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.navi ul li:hover>ul>li {
	height: 50px;
}

.navi ul ul li a {
	padding: 20px 0 20px 30px;
	font-size: 14px;
	background: #f1e8da;
	text-decoration: none;
	color: #775043;
	-webkit-transition: color .3s ease;
	-moz-transition: color .3s ease;
	-ms-transition: color .3s ease;
	-o-transition: color .3s ease;
	transition: color .3s ease;
}

.navi ul ul li:hover>a, .navi ul ul li a:hover, .navi ul ul li.on a {
	color: #fff;
	background: #b49c8e;
	font-weight: bold;
}

.navi ul ul li:hover:after, .navi ul ul li.on:after {
	width: 36px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.navi ul ul li.on:after {
	width: 0px;
}

@media screen and (max-width: 1680px) {
	.logo {
		width: 330px;
		/* margin: 30px 0 0 180px; */
	}
}
@media screen and (max-width: 1500px) {
	.logo {
		width: 350px;
		/* margin: 30px 0 0 150px; */
	}
	.navi>ul>li {
		margin: 0 35px;
	}
	.navi ul ul li a {
		padding: 15px 0 15px 30px;
		font-size: 12px;
	}
	.navi ul li:hover>ul>li {
		height: 40px;
	}
	.navi ul ul li:after {
		top: 15px;
	}
	.navi ul ul {
		width: 160px;
	}
	.topbar img {
		height: 16px;
	}
}
@media screen and (max-width: 1366px) {
	.head {
		height: 100px;
	}
	.logo {
		width: 220px;
		/* margin: 25px 0 0 80px; */
	}
	.navi {
		padding-top: 28px;
	}
	.navi>ul>li {
		margin: 0 30px;
	}
	.navi>ul>li>a {
		font-size: 14px;
	}
}
</style>